//
//  SRTaskService.m
//  SportRing
//
//  Created by mykoma on 14/10/28.
//  Copyright (c) 2014年 HotOne. All rights reserved.
//

#import "SRTaskService.h"
#import "SRDB.h"
#import "BlueToothLib.h"

@implementation SRTaskService

+(RACSignal *)updateTaskToDevie:(SRCurrentTask *)task
{
    RACSubject * subject = [RACSubject subject];
    [BlueToothLib stepTargetSetting:task.target.intValue withBlock:^(BOOL isTimeOut) {
        [subject sendNext:nil];
    }];
    return subject;
}

@end
